﻿using Telegram.Bot;
using Telegram.Bot.Types;

namespace Kz.Telegram.Bot.Console.HandleUpdate
{
    public class EditedChannelPostHandler : IHandler
    {
        public async Task Handle(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken)
        {
            /*
             {
                "update_id": 720931366,
                "edited_channel_post": {
                    "message_id": 18,
                    "sender_chat": {
                        "id": -1002140171434,
                        "type": "channel",
                        "title": "KZ机器人_频道",
                        "username": "kzbotchannel"
                    },
                    "date": 1708483214,
                    "chat": {
                        "id": -1002140171434,
                        "type": "channel",
                        "title": "KZ机器人_频道",
                        "username": "kzbotchannel"
                    },
                    "edit_date": 1708483347,
                    "text": "111222"
                }
            }
             */
        }
    }
}
